Skip to content

sizing: accept a bare-number arbitrary aspect ratio#175

Merged
samoht merged 1 commit into
mainfrom
aspect-bracket-number
Jul 27, 2026
Merged

sizing: accept a bare-number arbitrary aspect ratio#175
samoht merged 1 commit into
mainfrom
aspect-bracket-number

Conversation

@samoht

@samoht samoht commented Jul 26, 2026

Copy link
Copy Markdown
Owner

A bare-number arbitrary aspect ratio (aspect-[1.333]) produced no rule: the arbitrary bracket path went through the quarter-multiple X/Y scale parser, which rejects a single value. It now parses a bare positive number as a single-value aspect ratio (Ratio (n, 1.), which cascade minifies to just n), so aspect-[1.333] emits aspect-ratio: 1.333.

aspect-[1.333] produced no rule: the arbitrary bracket only parsed an X/Y
ratio through the quarter-multiple scale. Parse a bare positive number as a
single-value aspect-ratio, which minifies to just the number.
@samoht
samoht merged commit 03e2174 into main Jul 27, 2026
2 checks passed
@samoht
samoht deleted the aspect-bracket-number branch July 27, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant